package com.autohome.wz.business.mallOperation.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CfwUserOrderRiskRecord implements Serializable {
    private Integer id;

    private Integer userId;

    private String device;

    private String riskParam;

    private String riskResponseContent;

    private String riskState;

    private Integer captchaState;

    private Integer useCoupon;

    private String ordernum;

    private Integer sellerId;

    private String sellerName;

    private Integer stationId;

    private String stationName;

    private Date buytime;

    private BigDecimal orderprice;

    private BigDecimal actualpayment;

    private BigDecimal couponAmout;

    private BigDecimal downPrice;

    private BigDecimal petroCouponAmout;

    private Integer isDel;

    private Date createdStime;

    private Date modifiedStime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device == null ? null : device.trim();
    }

    public String getRiskParam() {
        return riskParam;
    }

    public void setRiskParam(String riskParam) {
        this.riskParam = riskParam == null ? null : riskParam.trim();
    }

    public String getRiskResponseContent() {
        return riskResponseContent;
    }

    public void setRiskResponseContent(String riskResponseContent) {
        this.riskResponseContent = riskResponseContent == null ? null : riskResponseContent.trim();
    }

    public String getRiskState() {
        return riskState;
    }

    public void setRiskState(String riskState) {
        this.riskState = riskState == null ? null : riskState.trim();
    }

    public Integer getCaptchaState() {
        return captchaState;
    }

    public void setCaptchaState(Integer captchaState) {
        this.captchaState = captchaState;
    }

    public Integer getUseCoupon() {
        return useCoupon;
    }

    public void setUseCoupon(Integer useCoupon) {
        this.useCoupon = useCoupon;
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum == null ? null : ordernum.trim();
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName == null ? null : sellerName.trim();
    }

    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public Date getBuytime() {
        return buytime;
    }

    public void setBuytime(Date buytime) {
        this.buytime = buytime;
    }

    public BigDecimal getOrderprice() {
        return orderprice;
    }

    public void setOrderprice(BigDecimal orderprice) {
        this.orderprice = orderprice;
    }

    public BigDecimal getActualpayment() {
        return actualpayment;
    }

    public void setActualpayment(BigDecimal actualpayment) {
        this.actualpayment = actualpayment;
    }

    public BigDecimal getCouponAmout() {
        return couponAmout;
    }

    public void setCouponAmout(BigDecimal couponAmout) {
        this.couponAmout = couponAmout;
    }

    public BigDecimal getDownPrice() {
        return downPrice;
    }

    public void setDownPrice(BigDecimal downPrice) {
        this.downPrice = downPrice;
    }

    public BigDecimal getPetroCouponAmout() {
        return petroCouponAmout;
    }

    public void setPetroCouponAmout(BigDecimal petroCouponAmout) {
        this.petroCouponAmout = petroCouponAmout;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Date getCreatedStime() {
        return createdStime;
    }

    public void setCreatedStime(Date createdStime) {
        this.createdStime = createdStime;
    }

    public Date getModifiedStime() {
        return modifiedStime;
    }

    public void setModifiedStime(Date modifiedStime) {
        this.modifiedStime = modifiedStime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CfwUserOrderRiskRecord other = (CfwUserOrderRiskRecord) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getDevice() == null ? other.getDevice() == null : this.getDevice().equals(other.getDevice()))
            && (this.getRiskParam() == null ? other.getRiskParam() == null : this.getRiskParam().equals(other.getRiskParam()))
            && (this.getRiskResponseContent() == null ? other.getRiskResponseContent() == null : this.getRiskResponseContent().equals(other.getRiskResponseContent()))
            && (this.getRiskState() == null ? other.getRiskState() == null : this.getRiskState().equals(other.getRiskState()))
            && (this.getCaptchaState() == null ? other.getCaptchaState() == null : this.getCaptchaState().equals(other.getCaptchaState()))
            && (this.getUseCoupon() == null ? other.getUseCoupon() == null : this.getUseCoupon().equals(other.getUseCoupon()))
            && (this.getOrdernum() == null ? other.getOrdernum() == null : this.getOrdernum().equals(other.getOrdernum()))
            && (this.getSellerId() == null ? other.getSellerId() == null : this.getSellerId().equals(other.getSellerId()))
            && (this.getSellerName() == null ? other.getSellerName() == null : this.getSellerName().equals(other.getSellerName()))
            && (this.getStationId() == null ? other.getStationId() == null : this.getStationId().equals(other.getStationId()))
            && (this.getStationName() == null ? other.getStationName() == null : this.getStationName().equals(other.getStationName()))
            && (this.getBuytime() == null ? other.getBuytime() == null : this.getBuytime().equals(other.getBuytime()))
            && (this.getOrderprice() == null ? other.getOrderprice() == null : this.getOrderprice().equals(other.getOrderprice()))
            && (this.getActualpayment() == null ? other.getActualpayment() == null : this.getActualpayment().equals(other.getActualpayment()))
            && (this.getCouponAmout() == null ? other.getCouponAmout() == null : this.getCouponAmout().equals(other.getCouponAmout()))
            && (this.getDownPrice() == null ? other.getDownPrice() == null : this.getDownPrice().equals(other.getDownPrice()))
            && (this.getPetroCouponAmout() == null ? other.getPetroCouponAmout() == null : this.getPetroCouponAmout().equals(other.getPetroCouponAmout()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getCreatedStime() == null ? other.getCreatedStime() == null : this.getCreatedStime().equals(other.getCreatedStime()))
            && (this.getModifiedStime() == null ? other.getModifiedStime() == null : this.getModifiedStime().equals(other.getModifiedStime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getDevice() == null) ? 0 : getDevice().hashCode());
        result = prime * result + ((getRiskParam() == null) ? 0 : getRiskParam().hashCode());
        result = prime * result + ((getRiskResponseContent() == null) ? 0 : getRiskResponseContent().hashCode());
        result = prime * result + ((getRiskState() == null) ? 0 : getRiskState().hashCode());
        result = prime * result + ((getCaptchaState() == null) ? 0 : getCaptchaState().hashCode());
        result = prime * result + ((getUseCoupon() == null) ? 0 : getUseCoupon().hashCode());
        result = prime * result + ((getOrdernum() == null) ? 0 : getOrdernum().hashCode());
        result = prime * result + ((getSellerId() == null) ? 0 : getSellerId().hashCode());
        result = prime * result + ((getSellerName() == null) ? 0 : getSellerName().hashCode());
        result = prime * result + ((getStationId() == null) ? 0 : getStationId().hashCode());
        result = prime * result + ((getStationName() == null) ? 0 : getStationName().hashCode());
        result = prime * result + ((getBuytime() == null) ? 0 : getBuytime().hashCode());
        result = prime * result + ((getOrderprice() == null) ? 0 : getOrderprice().hashCode());
        result = prime * result + ((getActualpayment() == null) ? 0 : getActualpayment().hashCode());
        result = prime * result + ((getCouponAmout() == null) ? 0 : getCouponAmout().hashCode());
        result = prime * result + ((getDownPrice() == null) ? 0 : getDownPrice().hashCode());
        result = prime * result + ((getPetroCouponAmout() == null) ? 0 : getPetroCouponAmout().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getCreatedStime() == null) ? 0 : getCreatedStime().hashCode());
        result = prime * result + ((getModifiedStime() == null) ? 0 : getModifiedStime().hashCode());
        return result;
    }
}